package com.indusfo.spc.client.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.indusfo.spc.client.pojo.ClientSpcDeteDetail;
import com.indusfo.spc.client.pojo.ClientSpcTestAverage;

/**
 * 客户端检测值
 * 
 * @author zhengd
 *
 */
public interface ClientSpcDeteDetailMapper {
	/**
	 * 保存检测值
	 * 
	 * @return
	 */
	Integer insertClientSpcDeteDetail(List<ClientSpcDeteDetail> clientSpcDeteDetails);

	/**
	 * 查询平均检测值
	 * 
	 * @return
	 */
	List<ClientSpcTestAverage> queryAverageDeteValueBySpcDeteId(@Param("spcDeteId") Integer spcDeteId);

	/**
	 * 查询前25组检测值
	 * 
	 * @return
	 */
	List<String> queryTwentyFiveGroupDeteValueBySpcDeteId(@Param("spcDeteId") Integer spcDeteId);
}
